package com.spark.usermusicService.service;

import com.spark.usermusicService.entity.Playlist;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 歌单 服务类
 * </p>
 *
 * @author wzk
 * @since 2021-07-01
 */
public interface PlaylistService extends IService<Playlist> {

    List<Playlist> getPlaylistByUserId(String userId);

    boolean deleteById(String playlistId);

    boolean deletePlaylistByUserId(String userId);

//    boolean saveOrUpdatePlaylist(Playlist playlist);
}
